package com.ctbri.manage.file.controller;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
/**
 * @Author wangxuem
 * @create 2023/10/16 21:11
 */
@Controller
public class IndexController {
    @GetMapping("/html")
    public String index(Model model) {
        model.addAttribute("message", "Hello, Spring Boot Thymeleaf!");
        return "index";
    }
    @GetMapping("/frame")
    public String frame(Model model) {
        model.addAttribute("includeIframe", true);
//        model.addAttribute("iframeUrl", "http://192.168.211.129:8080");
        model.addAttribute("iframeUrl", "http://192.168.211.129:8080/user/slogin/?&id=null&employeeNumber=66040359@HQ&username=王*敏&name=王*敏&mobile=189****5861&email=&discDetail=null&createUser=null&modifier=null&isValid=null&source_fileupload_id=3410253915136&token=e015e44e5fef6440024dfe4e9cf791e9");
        return "frame";
    }
}
